<%--
  Created by IntelliJ IDEA.
  User: ykj
  Date: 16/4/4
  Time: 下午2:24
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<style>
    .info-item{
        width: 600px;
        height: 50px;
        margin-top: 20px;
        overflow: hidden;
        font-size: 16px;
        border-bottom: 1px solid darkgrey;
    }
    .info-title{
        float: left;
        width: 150px;
        color: gray;
    }
    .info-value{
        float: left;
        width: 400px;
        color: #000;
    }
</style>
<div style="margin-left: 20px;margin-bottom: 20px;">
    <div class="info-item">
        <div class="info-title">手机号</div>
        <div class="info-value">${user.phone}</div>
    </div>
    <div class="info-item">
        <div class="info-title">真实名字</div>
        <div class="info-value">${user.name}</div>
    </div>
    <div class="info-item">
        <div class="info-title">身份证</div>
        <div class="info-value">${user.idCard}</div>
    </div>
    <div class="info-item">
        <div class="info-title">邮箱</div>
        <div class="info-value">${user.email}</div>
    </div>
    <div class="info-item">
        <div class="info-title">用户总资产</div>
        <div class="info-value"><fmt:formatNumber value="${user.asset}" pattern="#0.00"/></div>
    </div>
    <div class="info-item">
        <div class="info-title">收益</div>
        <div class="info-value"><fmt:formatNumber value="${user.earnings}" pattern="#0.00"/></div>
    </div>
</div>